home *** CD-ROM | disk | FTP | other *** search
/ Java Certification Exam Guide / McGrawwHill-JavaCertificationExamGuide.iso / pc / Web Links and Code / code / chap20 / FlowFive.java < prev    next >
Encoding:
Java Source  |  1997-04-20  |  322 b   |  14 lines

  1. import java.awt.*;
  2. import java.applet.*;
  3.  
  4. public class FlowFive extends Applet {
  5.    public void init() {
  6.       setLayout(new FlowLayout());
  7.       add(new Button("First"));
  8.       add(new Button("Second"));
  9.       add(new Button("Third"));
  10.       add(new Button("Fourth"));
  11.       add(new Button("Fifth"));
  12.    }
  13. }
  14.